<template>
	<view class="content">
		<view class="too">
			<view class="toop">
			<!-- 	<view class="toop_a">
					<image src="../../static/chengshi.png" mode=""></image>
					<p>成都</p>
				</view> -->
				<!-- <view class="toop_b">
					<image src="../../static/shos.png" mode=""></image>
					<input type="text" placeholder="请输入您所需要的产品名称" placeholder-style="color: #FFFFFF;" />
				</view> -->
			</view>
			<view class="fuchu">
				<view class="fuchu_a"><view class="xuanxiang_a" v-for="(itme, index) in 3" :key="index">全部</view></view>

				<view class="fuchu_b">
					<span class="tiaojian">筛选条件:</span>
					<view class="xuanxiang_a">工程订单</view>
					<span class="genduo">筛选更多》</span>
				</view>
			</view>
		</view>

		<!-- 通用商城音响 -->

		<view><stereo></stereo></view>
		<view class="xuqiu_fudong">
			<view class="fabu_a" @click="fabu">发布的需求</view>
			<view class="fabu_b">参与的需求</view>
		</view>
	</view>
</template>

<script>
import stereo from '@/pages/index/components/stereo.vue';
export default {
	components: {
		stereo,
	},
	data() {
		return {
			title: 'Hello',
		};
	},
	onLoad() {
		uni.setNavigationBarColor({
			frontColor: '#ffffff',
			backgroundColor: '#ff0000',
			animation: {
				duration: 400,
				timingFunc: 'easeIn',
			},
		});
	},
	methods: {
		tiao_gongshi() {
			wx.navigateTo({
				url: './Home/gonsi_Home',
			});
		},
		chengping() {
			wx.navigateTo({
				url: './Home/changping',
			});
		},
		fabu() {
			wx.navigateTo({
				url: './xuqiu/fabu_xuqiu',
			});
		},
	},
};
</script>

<style lang="scss" scoped>
.content {
	width: 100%;
	height: 100%;
	background-color: #f5f8fd;
}
.too {
	width: 100%;
	height: 250rpx;
	background-color: #ff0000;
	border-radius: 0 0 30% 30%;
	position: relative;
	margin-bottom: 70rpx;
	.toop {
		width: 690rpx;
		height: 75rpx;
		margin: auto;
		padding-top: 30rpx;
		display: flex;
		justify-content: space-around;
		.toop_a {
			width: 100rpx;
			height: 75rpx;
			image {
				width: 38rpx;
				height: 38rpx;
				margin-left: 30rpx;
			}
			p {
				width: 100rpx;
				height: 23rpx;
				font-size: 20rpx;
				font-family: PingFang SC;
				font-weight: 500;
				color: #ffffff;
				line-height: 25rpx;
				text-align: center;
			}
		}
		.toop_b {
			width: 570rpx;
			height: 75rpx;
			border-radius: 40rpx 40rpx 40rpx 40rpx;
			display: flex;
			background-color: #ffa3a1;
			image {
				width: 35rpx;
				height: 35rpx;
				margin-top: 25rpx;
				margin-left: 30rpx;
			}
			input {
				width: 470rpx;
				color: #ffffff;
				font-size: 24rpx;
				margin-top: 12rpx;
				margin-left: 10rpx;
			}
		}
	}
	.fuchu {
		width: 690rpx;
		height: 160rpx;
		background-color: #ffffff;
		position: absolute;
		left: 30rpx;
		top: 130rpx;
		border-radius: 10rpx 10rpx 10rpx 10rpx;
		.fuchu_a {
			width: 690rpx;
			height: 80rpx;
			display: flex;
			.xuanxiang {
				width: 120rpx;
				height: 40rpx;
				line-height: 40rpx;
				background-color: #ff0000;
				border-radius: 45rpx 45rpx 45rpx 45rpx;
				color: #ffffff;
				font-size: 24rpx;
				text-align: center;
				margin-top: 20rpx;
				margin-left: 20rpx;
			}
			.xuanxiang_a {
				width: 120rpx;
				height: 40rpx;
				line-height: 40rpx;
				border-radius: 45rpx 45rpx 45rpx 45rpx;
				border: 1rpx solid #999999;
				color: #999999;
				font-size: 24rpx;
				text-align: center;
				margin-top: 20rpx;
				margin-left: 20rpx;
			}
		}
		.fuchu_b {
			width: 690rpx;
			height: 80rpx;
			display: flex;
			.tiaojian {
				width: 120rpx;
				height: 80rpx;
				font-size: 24rpx;
				font-family: PingFang SC;
				font-weight: 500;
				color: #999999;
				line-height: 80rpx;
				margin-left: 20rpx;
			}
			.xuanxiang_a {
				width: 120rpx;
				height: 40rpx;
				line-height: 40rpx;
				border-radius: 45rpx 45rpx 45rpx 45rpx;
				border: 1rpx solid #ff0000;
				color: #ff0000;
				font-size: 24rpx;
				text-align: center;
				margin-top: 20rpx;
				margin-left: 20rpx;
			}
			.genduo {
				height: 80rpx;
				line-height: 80rpx;
				margin-left: 20rpx;
				color: #ff0000;
			}
		}
	}
}

.xuqiu_fudong {
	width: 200rpx;
	height: 140rpx;
	position: fixed;
	bottom: 100rpx;
	left: 548rpx;
	.fabu_a {
		width: 200rpx;
		height: 60rpx;
		line-height: 60rpx;
		border-radius: 45rpx 0 0 45rpx;
		background-color: #88b4fe;
		color: #ffffff;
		font-size: 24rpx;
		text-align: center;
	}
	.fabu_b {
		width: 200rpx;
		height: 60rpx;
		line-height: 60rpx;
		border-radius: 45rpx 0 0 45rpx;
		background-color: #88b4fe;
		margin-top: 20rpx;
		color: #ffffff;
		font-size: 24rpx;
		text-align: center;
	}
}

// 商品列表
.shangdian {
	width: 690rpx;
	margin: auto;
	height: 336rpx;
	background-color: #ffffff;
	border-radius: 10rpx 10rpx 10rpx 10rpx;
	margin-bottom: 20rpx;
	p {
		width: 650rpx;
		height: 65rpx;
		line-height: 80rpx;
		font-size: 30rpx;
		color: #333333;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
		margin-left: 20rpx;
	}
	.shangdian_a {
		width: 650rpx;
		height: 60rpx;
		margin-left: 20rpx;
		display: flex;
		justify-content: space-between;
		.tit_a {
			width: 250rpx;
			height: 40rpx;
			display: flex;
			justify-content: space-between;
			.tit_a_a {
				width: 100rpx;
				height: 30rpx;
				border: 2rpx solid #ff0000;
				color: #ff0000;
				font-size: 20rpx;
				text-align: center;
				line-height: 30rpx;
				border-radius: 4px;
				margin-top: 10rpx;
			}
			.tit_a_b {
				width: 100rpx;
				height: 30rpx;
				border: 2rpx solid #ff0000;
				color: #ff0000;
				font-size: 20rpx;
				text-align: center;
				line-height: 30rpx;
				border-radius: 4px;
				margin-top: 10rpx;
			}
		}
		.tit_b {
			width: 260rpx;
			height: 50rpx;
			display: flex;
			margin-top: 10rpx;
			image {
				width: 23rpx;
				height: 26rpx;
				margin-right: 10rpx;
			}
			span {
				display: block;
				width: 180rpx;
				height: 30rpx;
				font-size: 24rpx;
				font-family: PingFang SC;
				font-weight: 500;
				color: #999999;
				line-height: 30rpx;
				overflow: hidden;
				text-overflow: ellipsis;
				white-space: nowrap;
			}
		}
	}
	.xian_qing {
		width: 650rpx;
		height: 200rpx;
		margin: auto;
		display: flex;
		justify-content: space-between;
		image {
			width: 200rpx;
			height: 200rpx;
		}
		.xiangqing {
			width: 430rpx;
			height: 200rpx;
			// border: 1rpx solid red;
			.xiangqing_name {
				width: 370rpx;
				height: 40rpx;
				line-height: 40rpx;
				text-overflow: ellipsis;
				white-space: nowrap;
				margin-left: 20rpx;
				margin-bottom: 10rpx;
			}
			span {
				color: #ff0000;
				margin-left: 20rpx;
			}
			.yuan_jia {
				color: #999999;
				font-size: 24rpx;
				text-decoration: underline;
				text-decoration: line-through;
				margin-left: 15rpx;
			}
			.be_zhu {
				width: 370rpx;
				height: 80rpx;
				overflow: hidden;
				text-overflow: ellipsis;
				white-space: nowrap;
				margin-left: 20rpx;
				font-size: 24rpx;
				color: #999999;
				// border: 1rpx solid red;
			}
		}
	}
}
</style>
